﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("请输入圆的半径");
            double R = double.Parse(Console.ReadLine());
            Console.WriteLine("请输入正方形边长");
            int A = int.Parse(Console.ReadLine());

            Shape(R,A);


        }
        public static void Shape(double R,int A)
        { 
            Square square = new Square(A);
            Circle circle = new Circle(R);
            Shape shape = new Shape();
            circle.GetArea();
            square.GetArea();




        }
    }
}
